''========================================================
'' Autor: 		Luis Antonio Lara Capetillo
'' Fecha Creación: 	31/10/2012
'' Descripcion: 	Clase perteneciente a la capa de negocios
''========================================================

Imports CapaDatos
Imports CapaEntidad

Public Class CN_DataAccesSol_InfraEstructura

	Public Sub InsertarDataAccesSol_InfraEstructura(ByVal DataAccesSol_InfraEstructura As DataAccesSol_InfraEstructura, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSol_InfraEstructura()
			claseCapaDatos.InsertarDataAccesSol_InfraEstructura(DataAccesSol_InfraEstructura, conexion, Verificador)
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ConsultaDataAccesSol_InfraEstructura(ByRef Grid As System.Web.UI.WebControls.GridView, ByVal DataAccesSol_InfraEstructura As DataAccesSol_InfraEstructura, ByVal conexion As String, ByRef List As System.Collections.Generic.List(Of DataAccesSol_InfraEstructura))
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSol_InfraEstructura()
			claseCapaDatos.ConsultaDataAccesSol_InfraEstructura(DataAccesSol_InfraEstructura, conexion, List)

			Grid.DataSource = List
			Grid.DataBind()
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ModificarDataAccesSol_InfraEstructura(ByVal DataAccesSol_InfraEstructura As DataAccesSol_InfraEstructura, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesSol_InfraEstructura()
			claseCapaDatos.ModificarDataAccesSol_InfraEstructura(DataAccesSol_InfraEstructura, conexion, Verificador)
		Catch ex As Exception
		Throw ex
		End Try
	End Sub

End Class